class BookController {
    
    def scaffold = true

    def rentBook = {
	Book book = Book.findById(params.id)
	rent.rentBook()
        redirect(action:list)
    }
}
